package org.song.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.apache.ibatis.type.Alias;
import org.song.model.dto.common.BaseSearchDto;

import java.util.Date;


@ApiModel("聊天日志")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@Alias(value = "ChatLogDto")
public class ChatLogDto extends BaseSearchDto {

    @ApiModelProperty(value = "消息Id" , notes = "消息Id")
    private Long msgId;

    @ApiModelProperty(value = "发送者ID" , notes = "发送者ID")
    private Long senderId;

    @ApiModelProperty(value = "接收者Id" , notes = "接收者Id")
    private Long receiverId;

    @ApiModelProperty(value = "创建时间" , notes = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "消息内容" , notes = "消息内容")
    private String content;

}
